$text-color: #faf2e9;
$background-color: #032629;
$btn-color: #0fcb8c;
$btn-hover-color: #e7faf4;
.home_container {
  background-color: $background-color;
  width: 100vw;
  min-height: 100vh;
  padding: 48px 20px 0;
  .process_box {
    text-align: center;
    color: rgb(131, 131, 131);
    font-size: 24px;
    margin: 8px 0px;
    :deep(.el-progress__text) {
      width: 0;
      min-width: 0;
      overflow: hidden;
    }
  }
  // 结果展示列表
  .card_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    margin: 24px 0px 64px;
    color: $text-color;
    .card {
      width: 100%;
      height: 720px;
      padding: 20px;
      background-color: color-mix(in srgb, rgb(250, 242, 233) 10%, transparent);
      border-radius: 8px;
      box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
      .card_title {
        display: flex;
        -webkit-box-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        align-items: center;
        font-weight: bold;
        font-size: 28px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgb(250, 242, 233);
        padding-bottom: 5px;
        .copy_btn {
          cursor: pointer;
          color: $btn-color;
          padding: 6px 16px;
          border-radius: 4px;
          display: inline-flex;
          align-items: center;
          gap: 8px;
          font-size: 21px;
          &:hover {
            background-color: $btn-hover-color;
          }
        }
      }
      .card_content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 24px;
        margin-top: 24px;
        scrollbar-color: rgb(133, 145, 144) transparent;
        .card_content_img {
          display: flex;
          -webkit-box-pack: center;
          justify-content: center;
          img {
            max-width: 100%;
            max-height: 600px;
            border-radius: 4px;
            object-fit: contain;
            display: block;
          }
        }
        .card_content_result {
          border: 1px solid color-mix(in srgb, rgb(15, 203, 140) 10%, transparent);
          padding: 16px;
          border-radius: 4px;
          height: 600px;
          overflow-y: auto;
          .result_metadata {
            background-color: color-mix(in srgb, rgb(250, 242, 233) 10%, transparent);
            padding: 16px;
            border-radius: 4px;
            margin-top: 16px;
            h4 {
              font-size: 24px;
              font-weight: 600;
              margin-bottom: 28px;
            }
            .view_prompt_btn {
              width: 152px;
              cursor: pointer;
              color: $btn-color;
              padding: 6px 16px;
              border-radius: 4px;
              text-align: center;
              font-size: 21px;
              &:hover {
                background-color: $btn-hover-color;
              }
            }
          }
          $markdwn-back-color: #1c3a3c;
          :deep(.vuepress-markdown-body) {
            background-color: $markdwn-back-color;
            color: $text-color;
          }
          :deep(.vuepress-markdown-body tr:nth-child(2n)) {
            background-color: $markdwn-back-color;
          }
        }
      }
    }
    .limit_box {
      @extend .card;
      height: auto;
      .limit_box_title {
        margin: 26px 0 12px;
        font-size: 36px;
        text-align: center;
      }
      .limit_box_tips {
        font-size: 24px;
      }
    }
  }
  // 上传组件
  .upload_box {
    text-align: center;
    padding-bottom: 40px;
    .upload_text {
      color: white;
      font-size: 30px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .upload_box_btn {
      width: 800px;
      height: 200px;
      text-align: center;
      background-color: #0a3235;
      color: $text-color;
      align-content: center;
      cursor: pointer;
      &:hover {
        border: 1px solid $btn-color;
      }
      img {
        color: $text-color;
      }
    }
  }
  // 上传按钮
  .upload_btn {
    width: 100%;
    text-align: center;
    :deep(.el-button--success) {
      width: 210px;
      height: 44px;
      font-size: 21px;
      background-color: $background-color;
      color: $btn-color;
      border-color: $btn-color;
      &:hover {
        background-color: $btn-hover-color;
      }
    }
  }
  // 范例展示
  .sample_list {
    text-align: center;
    color: $text-color;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 48px;
    h2 {
      font-size: 36px;
      margin: 30px 0 12px;
    }
    .sample_box {
      display: flex;
      -webkit-box-pack: center;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      .sample_card {
        cursor: pointer;
        width: 170px;
        background: rgb(10, 50, 53);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
        .sample_img {
          position: relative;
          height: 200px;
          padding: 8px 8px 0px;
          background-blend-mode: overlay;
          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
          }
        }
        .sample_text {
          padding: 8px 12px;
          font-size: 24px;
        }
      }
    }
  }
  $dialog-markdown-back-color: rgb(3, 38, 41);
  :deep(.vuepress-markdown-body) {
    background-color: $dialog-markdown-back-color;
    color: $text-color;
  }
  :deep(.vuepress-markdown-body tr:nth-child(2n)) {
    background-color: $dialog-markdown-back-color;
  }
  :deep(.el-dialog) {
    border: 1px solid rgb(190, 190, 190);
    background-color: rgb(10, 50, 53);
    color: $text-color;
    scrollbar-color: rgb(133, 145, 144) transparent;
  }
  :deep(.el-dialog__title) {
    color: $text-color;
  }
  :deep(.el-dialog__footer) {
    text-align: left;
  }
}
